package com.svs.system.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.alibaba.fastjson.annotation.JSONField;
import com.svs.common.base.BaseEntity;

/**
 * 行政区划表 sys_area
 * 
 * @author dujianqiao
 * @date 2019-01-02
 */
public class Area extends BaseEntity<Area> {
	
	private static final long serialVersionUID = 1L;

	/** 区域编码 */
	private String areaCode;
	/** 父级编号 */
	private String parentCode;
	/** 所有父级编号 */
	@JSONField(serialize = false)
	private String parentCodes;
	/** 本级排序号（升序） */
	@JSONField(serialize = false)
	private BigDecimal treeSort;
	/** 所有级别排序号 */
	@JSONField(serialize = false)
	private String treeSorts;
	/** 是否最末级 */
	private String treeLeaf;
	/** 层次级别 */
	private BigDecimal treeLevel;
	/** 全节点名 */
	private String treeNames;
	/** 区域名称 */
	private String areaName;
	/** 区域类型 */
	@JSONField(serialize = false)
	private String areaType;
	/** 状态（0正常 1删除 2停用） */
	private String status;
	/** 创建者 */
	private String createBy;
	/** 创建时间 */
	private Date createDate;
	/** 更新者 */
	@JSONField(serialize = false)
	private String updateBy;
	/** 更新时间 */
	@JSONField(serialize = false)
	private Date updateDate;
	/** 备注信息 */
	@JSONField(serialize = false)
	private String remarks;

	public void setAreaCode(String areaCode) {
		this.areaCode = areaCode;
	}

	public String getAreaCode() {
		return areaCode;
	}

	public void setParentCode(String parentCode) {
		this.parentCode = parentCode;
	}

	public String getParentCode() {
		return parentCode;
	}

	public void setParentCodes(String parentCodes) {
		this.parentCodes = parentCodes;
	}

	public String getParentCodes() {
		return parentCodes;
	}

	public void setTreeSort(BigDecimal treeSort) {
		this.treeSort = treeSort;
	}

	public BigDecimal getTreeSort() {
		return treeSort;
	}

	public void setTreeSorts(String treeSorts) {
		this.treeSorts = treeSorts;
	}

	public String getTreeSorts() {
		return treeSorts;
	}

	public void setTreeLeaf(String treeLeaf) {
		this.treeLeaf = treeLeaf;
	}

	public String getTreeLeaf() {
		return treeLeaf;
	}

	public void setTreeLevel(BigDecimal treeLevel) {
		this.treeLevel = treeLevel;
	}

	public BigDecimal getTreeLevel() {
		return treeLevel;
	}

	public void setTreeNames(String treeNames) {
		this.treeNames = treeNames;
	}

	public String getTreeNames() {
		return treeNames;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaType(String areaType) {
		this.areaType = areaType;
	}

	public String getAreaType() {
		return areaType;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatus() {
		return status;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getRemarks() {
		return remarks;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("areaCode", getAreaCode())
				.append("parentCode", getParentCode()).append("parentCodes", getParentCodes())
				.append("treeSort", getTreeSort()).append("treeSorts", getTreeSorts()).append("treeLeaf", getTreeLeaf())
				.append("treeLevel", getTreeLevel()).append("treeNames", getTreeNames())
				.append("areaName", getAreaName()).append("areaType", getAreaType()).append("status", getStatus())
				.append("createBy", getCreateBy()).append("createDate", getCreateDate())
				.append("updateBy", getUpdateBy()).append("updateDate", getUpdateDate()).append("remarks", getRemarks())
				.toString();
	}
}
